<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/taglib/jstl.jsp" %>

<div style="margin:2px 2px 2px 2px;">
	<table class="left-table">
	<tr>
		<td class="grpTitleTd">아이디</td>
		<td class="grpContsTd">${grpInfo.grpId}</td>
	</tr>
	<tr>
		<td class="grpTitleTd">그룹 이름</td>
		<td class="grpContsTd">${grpInfo.grpAlias}</td>
	</tr>
	<tr>
		<td class="grpTitleTd">역할</td>
		<td class="grpContsTd">
			<c:forEach var="items" items="${roleList}" varStatus="i">
			<c:if test="${items.roleId == grpInfo.roleId}">
				${items.roleAlias}
			</c:if>
			</c:forEach>
		</td>
	</tr>		
	<tr>
		<td class="grpTitleTd">사용 여부</td>
		<td class="grpContsTd">${grpInfo.grpUseYN}</td>
	</tr>
	<tr>
		<td class="grpTitleTd">필수 그룹 여부</td>
		<td class="grpContsTd">${grpInfo.grpCompulsoryYN}</td>
	</tr>
	<tr>
		<td class="grpTitleTd">설명</td>
		<td class="grpContsTd">
			<div style="margin-left:margin:2px 0px 2px 10px; 
				text-indent:0px; height:80px; overflow-y:auto;">${cfn:chgHtmlNewLine(grpInfo.grpDesc) }</div>
		</td>
	</tr>
	</table>
</div>
<div class="grpBtnsDiv"><input type="button" id="jqwCloseBtn" value="닫기" /></div>

<script type="text/javascript" src="/resources/js/views/template/system/group/_detail.js"></script>